package nc.impl.oms2ebs;

import nc.itf.hdysc.oms2ebs.IEbsAction;
import nc.itf.hdysc.oms2ebs.IEbsSync;
import nc.itf.hdysc.wbs.WebExceptionHandel;

public class EbsSyncImpl implements IEbsSync{

	public void ebsAction(String actionName, Object[] params) {
		try{
			IEbsAction ic = (IEbsAction)Class.forName(actionName).newInstance() ;
			ic.doAction(params) ;
		}catch (Exception e) {
			WebExceptionHandel.handelWebAction(e) ;
		}
	}

}
